package com.mvcMovie.service;

import com.mvcMovie.bean.MovieRecord;
import com.mvcMovie.bean.UserRecord;

import java.util.List;

public interface RecordService {
    Integer addUserRecord(UserRecord userRecord);
    Integer addMovieRecord(MovieRecord movieRecord);

    Integer addUserRecordAndMovieRecord(UserRecord userRecord,MovieRecord movieRecord);

    List<UserRecord> selectAllRecordByUserName(String username);
}
